package bootstrap

import "github.com/golang-module/carbon/v2"

func InitComponentCarbon() {
	// 时间日期组件初始化
	carbon.SetDefault(carbon.Default{
		Layout:       carbon.DateTimeLayout,
		Timezone:     carbon.Shanghai,
		WeekStartsAt: carbon.Sunday,
		Locale:       "zh-CN",
	})
}
